sInput = input()
i_double = int(sInput) * 2
for i in str(i_double):
    if not i in sInput:
        print('No')
        print(i_double)
        break
else:
    print('Yes')
    print(i_double)
sInput = input()
i_double = int(sInput) * 2
for i in str(i_double):
    if not i in sInput:
        print('No')
        print(i_double)
        break
else:
    for j in sInput:
        if not j in str(i_double):
            print('No')
            print(i_double)
            break
    else:
        print('Yes')
        print(i_double)
'''
[測資]輸入中有數字不在結果裡,但結果都在輸入中
輸入12,輸出2,若只跑完Output(2)的迴圈可確定2在12裡,但12卻沒都在2裡,沒完全符合需print("No")
python 有for else,若其他語言要加個boolean判斷,否則會一直print('Yes')
'''
本文純自己做題目之筆記,如有更好的方法再麻煩各位指教~~